import { http, download } from '../request'
// this.prototype.$http
const request = http
let activityList = {
   
//获取活动列表  
getLiveBroadcast(data) {
  
      return request("/activity/getActivity",data)
  },
  //新增活动
  addactive(data) {
  
    return request("/activity/insertActivity",data)
  },
  //活动详情
  activeDeail(data) {
  
    return request("/activity/showActivity",data)
  },
  //报名信息
  getActivityEnroll(data) {

    return request("/activity/getActivityEnroll",data)
  },
  //作品管理列表
  getActivityWorks(data) {
    
    return request("/activity/getActivityWorks",data)
  },
  //人气榜单
  getPopularityActivityWorks(data) {
    console.log(data, "传参数据,人气");
    return request("/activity/getPopularityActivityWorks",data)
  },
  //评委榜单
  getJudgesActivityWorks(data) {
    console.log(data, "传参数据,人气");
    return request("/activity/getJudgesActivityWorks",data)
  } ,
  //评委列表
  getActivityJudges(data) {
    return request("/activity/getActivityJudges",data)
  },
  //奖励审核
  getActivityReward(data) {
    return request("/activity/getActivityReward",data)
  } ,
  //评委打分
  getScoreActivityWorks(data) {
    console.log(data);
    return request("/activity/getScoreActivityWorks",data)
  },
  //活动上下架
  updateActivityState(data) {
    console.log(data);
    return request("/activity/updateActivityState",data)
  },

}
//动态详情
 


export default activityList